<?php
/**
 * Created by PhpStorm.
 * User: lyon
 * Date: 16-12-8
 * Time: 下午1:46
 */
class Log
{
    public static $LOG = [];
    public static function _init()
    {
        if (empty(self::$LOG['logfile']))
        {
            self::$LOG['logfile'] = 'logs/' . date('Ymd') . '.info.log';
        }
        if (empty(self::$LOG['error']))
        {
            self::$LOG['error'] = 'error/' . date('Ymd') . '.error.log';
        }
        if (empty(self::$LOG['url']))
        {
            self::$LOG['url'] = 'logs/' . date('Ymd') . '.url.log';
        }
    }
}